<script>
	export default {
		onLaunch: function() {
      // console.log('isWeiXin---', this.isWeiXin())
      // if(this.isWeiXin()){
      //   document.getElementsByTagName('body')[0].classList.addClass('none')
      // }
		},
		onShow: function() {
			
		},
		onHide: function() {
			
		},
    methods:{
      isWeiXin() {
          var ua = navigator.userAgent.toLowerCase();
          if (ua.indexOf('micromessenger') > -1) {
              return true; // 在微信中打开
          } else {
              return false; // 在普通浏览器中打开
          }
      }

    }
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/static/assets/csm/css/core.scss";
	@import "@/static/assets/csmwj/app.scss";
	// @import "common/demo.scss";
	html,.zxb-pre{font-family: Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,noto sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;}
  .zxb-pre{white-space: pre-wrap}
  .u-icon .u-icon__icon span{font-family: uicon-iconfont;}
  .z-box{
    .u-radio,.u-checkbox{padding: 36rpx 0; border-top: 1px solid #F2F2F2; margin-left: 30rpx !important;}
    .z-item{padding: 0 0rpx !important; margin-bottom: 30rpx;}
    .z-item1{margin-bottom: 40rpx; padding: 0 30rpx 30rpx !important;  border-bottom: 20rpx solid #F5F5F9;}
    
    .u-input{margin: 0 0 10rpx !important;}
  }
  .z-item2{padding: 0 20rpx !important;}
  .z-item3{padding-left: 0 !important; padding-right: 0 !important;}
  .z-item4{margin-bottom: 0 !important;}
  .zxb-img{
    height: auto !important;
    .u-image,.u-image__image{height: auto !important;}
    img{opacity: 1 !important; position: static !important;}
  }
  .csmwj-group-line{
    display: flex; align-items: center;padding: 0 30rpx; font-size: 17px; font-weight: bold; background-color: #F5F5F9; height: 60px;
    // &::before{content: ''; display: block; width: 4px; height: 20px; background-color: red; margin-right: 10px;}
  }
</style>
